/*
 * Copyright 2011 Marcos Fabio Pereira
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.moveme.network.payload;

/**
 * Payload constants.
 * 
 * @author Marcos Fabio Pereira
 * 
 */
public class PayloadConstants {

    public static final int NUM_BUTTONS = 64;

    public static final int PSMOVE_PACKET_MAGIC = 0xff0000dd;

    public static final int PSMOVE_PACKET_CODE_STANDARD_STATE = 0x1;

    public static final int PSMOVE_PACKET_CODE_CAMERA_FRAME_SLICE = 0x2;

    public static final int PSMOVE_PACKET_CODE_CAMERA_FRAME_STATE = 0x3;

    public static final int PSMOVE_SERVER_MAX_CONS = 4;

    public static final int PSMOVE_SERVER_MAX_NAVS = 7;

    public static final int IMAGE_BUFFER_SIZE = 61440;

    public static final int CAMERA_FRAME_SPLIT_FORMAT_JPG = 0x1;

    public static final int MAXIMUM_CAMERA_FRAME_SLICES = 7;

    public static final int CELL_PAD_MAX_CODES = 64;

}
